package com.dwxt.community.entity;

import java.util.*;

public class ChunkInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ChunkInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andChunkIsNull() {
            addCriterion("chunk is null");
            return (Criteria) this;
        }

        public Criteria andChunkIsNotNull() {
            addCriterion("chunk is not null");
            return (Criteria) this;
        }

        public Criteria andChunkEqualTo(Integer value) {
            addCriterion("chunk =", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkNotEqualTo(Integer value) {
            addCriterion("chunk <>", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkGreaterThan(Integer value) {
            addCriterion("chunk >", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkGreaterThanOrEqualTo(Integer value) {
            addCriterion("chunk >=", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkLessThan(Integer value) {
            addCriterion("chunk <", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkLessThanOrEqualTo(Integer value) {
            addCriterion("chunk <=", value, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkIn(List<Integer> values) {
            addCriterion("chunk in", values, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkNotIn(List<Integer> values) {
            addCriterion("chunk not in", values, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkBetween(Integer value1, Integer value2) {
            addCriterion("chunk between", value1, value2, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunkNotBetween(Integer value1, Integer value2) {
            addCriterion("chunk not between", value1, value2, "chunk");
            return (Criteria) this;
        }

        public Criteria andChunksIsNull() {
            addCriterion("chunks is null");
            return (Criteria) this;
        }

        public Criteria andChunksIsNotNull() {
            addCriterion("chunks is not null");
            return (Criteria) this;
        }

        public Criteria andChunksEqualTo(Integer value) {
            addCriterion("chunks =", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksNotEqualTo(Integer value) {
            addCriterion("chunks <>", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksGreaterThan(Integer value) {
            addCriterion("chunks >", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksGreaterThanOrEqualTo(Integer value) {
            addCriterion("chunks >=", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksLessThan(Integer value) {
            addCriterion("chunks <", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksLessThanOrEqualTo(Integer value) {
            addCriterion("chunks <=", value, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksIn(List<Integer> values) {
            addCriterion("chunks in", values, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksNotIn(List<Integer> values) {
            addCriterion("chunks not in", values, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksBetween(Integer value1, Integer value2) {
            addCriterion("chunks between", value1, value2, "chunks");
            return (Criteria) this;
        }

        public Criteria andChunksNotBetween(Integer value1, Integer value2) {
            addCriterion("chunks not between", value1, value2, "chunks");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNull() {
            addCriterion("file_name is null");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNotNull() {
            addCriterion("file_name is not null");
            return (Criteria) this;
        }

        public Criteria andFileNameEqualTo(String value) {
            addCriterion("file_name =", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotEqualTo(String value) {
            addCriterion("file_name <>", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThan(String value) {
            addCriterion("file_name >", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("file_name >=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThan(String value) {
            addCriterion("file_name <", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThanOrEqualTo(String value) {
            addCriterion("file_name <=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLike(String value) {
            addCriterion("file_name like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotLike(String value) {
            addCriterion("file_name not like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameIn(List<String> values) {
            addCriterion("file_name in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotIn(List<String> values) {
            addCriterion("file_name not in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameBetween(String value1, String value2) {
            addCriterion("file_name between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotBetween(String value1, String value2) {
            addCriterion("file_name not between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andDirIsNull() {
            addCriterion("dir is null");
            return (Criteria) this;
        }

        public Criteria andDirIsNotNull() {
            addCriterion("dir is not null");
            return (Criteria) this;
        }

        public Criteria andDirEqualTo(String value) {
            addCriterion("dir =", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirNotEqualTo(String value) {
            addCriterion("dir <>", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirGreaterThan(String value) {
            addCriterion("dir >", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirGreaterThanOrEqualTo(String value) {
            addCriterion("dir >=", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirLessThan(String value) {
            addCriterion("dir <", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirLessThanOrEqualTo(String value) {
            addCriterion("dir <=", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirLike(String value) {
            addCriterion("dir like", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirNotLike(String value) {
            addCriterion("dir not like", value, "dir");
            return (Criteria) this;
        }

        public Criteria andDirIn(List<String> values) {
            addCriterion("dir in", values, "dir");
            return (Criteria) this;
        }

        public Criteria andDirNotIn(List<String> values) {
            addCriterion("dir not in", values, "dir");
            return (Criteria) this;
        }

        public Criteria andDirBetween(String value1, String value2) {
            addCriterion("dir between", value1, value2, "dir");
            return (Criteria) this;
        }

        public Criteria andDirNotBetween(String value1, String value2) {
            addCriterion("dir not between", value1, value2, "dir");
            return (Criteria) this;
        }

        public Criteria andOffsetIsNull() {
            addCriterion("offset is null");
            return (Criteria) this;
        }

        public Criteria andOffsetIsNotNull() {
            addCriterion("offset is not null");
            return (Criteria) this;
        }

        public Criteria andOffsetEqualTo(Long value) {
            addCriterion("offset =", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotEqualTo(Long value) {
            addCriterion("offset <>", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetGreaterThan(Long value) {
            addCriterion("offset >", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetGreaterThanOrEqualTo(Long value) {
            addCriterion("offset >=", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetLessThan(Long value) {
            addCriterion("offset <", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetLessThanOrEqualTo(Long value) {
            addCriterion("offset <=", value, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetIn(List<Long> values) {
            addCriterion("offset in", values, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotIn(List<Long> values) {
            addCriterion("offset not in", values, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetBetween(Long value1, Long value2) {
            addCriterion("offset between", value1, value2, "offset");
            return (Criteria) this;
        }

        public Criteria andOffsetNotBetween(Long value1, Long value2) {
            addCriterion("offset not between", value1, value2, "offset");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathIsNull() {
            addCriterion("fdfs_full_path is null");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathIsNotNull() {
            addCriterion("fdfs_full_path is not null");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathEqualTo(String value) {
            addCriterion("fdfs_full_path =", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathNotEqualTo(String value) {
            addCriterion("fdfs_full_path <>", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathGreaterThan(String value) {
            addCriterion("fdfs_full_path >", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathGreaterThanOrEqualTo(String value) {
            addCriterion("fdfs_full_path >=", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathLessThan(String value) {
            addCriterion("fdfs_full_path <", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathLessThanOrEqualTo(String value) {
            addCriterion("fdfs_full_path <=", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathLike(String value) {
            addCriterion("fdfs_full_path like", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathNotLike(String value) {
            addCriterion("fdfs_full_path not like", value, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathIn(List<String> values) {
            addCriterion("fdfs_full_path in", values, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathNotIn(List<String> values) {
            addCriterion("fdfs_full_path not in", values, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathBetween(String value1, String value2) {
            addCriterion("fdfs_full_path between", value1, value2, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andFdfsFullPathNotBetween(String value1, String value2) {
            addCriterion("fdfs_full_path not between", value1, value2, "fdfsFullPath");
            return (Criteria) this;
        }

        public Criteria andSizeIsNull() {
            addCriterion("size is null");
            return (Criteria) this;
        }

        public Criteria andSizeIsNotNull() {
            addCriterion("size is not null");
            return (Criteria) this;
        }

        public Criteria andSizeEqualTo(Long value) {
            addCriterion("size =", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotEqualTo(Long value) {
            addCriterion("size <>", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThan(Long value) {
            addCriterion("size >", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThanOrEqualTo(Long value) {
            addCriterion("size >=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThan(Long value) {
            addCriterion("size <", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThanOrEqualTo(Long value) {
            addCriterion("size <=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeIn(List<Long> values) {
            addCriterion("size in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotIn(List<Long> values) {
            addCriterion("size not in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeBetween(Long value1, Long value2) {
            addCriterion("size between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotBetween(Long value1, Long value2) {
            addCriterion("size not between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andFdfsPathIsNull() {
            addCriterion("fdfs_path is null");
            return (Criteria) this;
        }

        public Criteria andFdfsPathIsNotNull() {
            addCriterion("fdfs_path is not null");
            return (Criteria) this;
        }

        public Criteria andFdfsPathEqualTo(String value) {
            addCriterion("fdfs_path =", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathNotEqualTo(String value) {
            addCriterion("fdfs_path <>", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathGreaterThan(String value) {
            addCriterion("fdfs_path >", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathGreaterThanOrEqualTo(String value) {
            addCriterion("fdfs_path >=", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathLessThan(String value) {
            addCriterion("fdfs_path <", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathLessThanOrEqualTo(String value) {
            addCriterion("fdfs_path <=", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathLike(String value) {
            addCriterion("fdfs_path like", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathNotLike(String value) {
            addCriterion("fdfs_path not like", value, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathIn(List<String> values) {
            addCriterion("fdfs_path in", values, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathNotIn(List<String> values) {
            addCriterion("fdfs_path not in", values, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathBetween(String value1, String value2) {
            addCriterion("fdfs_path between", value1, value2, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsPathNotBetween(String value1, String value2) {
            addCriterion("fdfs_path not between", value1, value2, "fdfsPath");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupIsNull() {
            addCriterion("fdfs_group is null");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupIsNotNull() {
            addCriterion("fdfs_group is not null");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupEqualTo(String value) {
            addCriterion("fdfs_group =", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupNotEqualTo(String value) {
            addCriterion("fdfs_group <>", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupGreaterThan(String value) {
            addCriterion("fdfs_group >", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupGreaterThanOrEqualTo(String value) {
            addCriterion("fdfs_group >=", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupLessThan(String value) {
            addCriterion("fdfs_group <", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupLessThanOrEqualTo(String value) {
            addCriterion("fdfs_group <=", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupLike(String value) {
            addCriterion("fdfs_group like", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupNotLike(String value) {
            addCriterion("fdfs_group not like", value, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupIn(List<String> values) {
            addCriterion("fdfs_group in", values, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupNotIn(List<String> values) {
            addCriterion("fdfs_group not in", values, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupBetween(String value1, String value2) {
            addCriterion("fdfs_group between", value1, value2, "fdfsGroup");
            return (Criteria) this;
        }

        public Criteria andFdfsGroupNotBetween(String value1, String value2) {
            addCriterion("fdfs_group not between", value1, value2, "fdfsGroup");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}